package com.sm.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sm.controller.respond.SelectCourseAchievementRespond;
import com.sm.controller.respond.SelectCourseStudentRespond;
import com.sm.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @Author: lpf
 * @Date: 2022/2/16
 */

@Mapper
public interface StudentMapper extends BaseMapper<Student> {

    List<SelectCourseStudentRespond> getCourseAttender(@Param("courseId")Integer courseId);
    List<SelectCourseAchievementRespond> getCourseAchievement(@Param("courseId")Integer courseId);

    int deleteStu(@Param("userId") Integer userId);


}
